package com.qfedu.dao;

import com.qfedu.bean.User;

import java.util.List;

public interface UserDao {
    List<User> selectUserList() throws Exception;
    User selectUserById(Integer id) throws Exception;
    List<User> selectUserListLikeName1(String username) throws Exception;
    List<User> selectUserListLikeName2(String username) throws Exception;
    List<User> selectUserListLikeName3(String username) throws Exception;
    List<User> selectUserListLikeName4(String username) throws Exception;
    void addUser(User inputUser) throws Exception;
    void addUser2(User inputUser) throws Exception;
    void deletdUserById(Integer id) throws Exception;
    void updateUser(User inputUser) throws Exception;
}
